x86/HVM: add known_gla() emulation helper
authorJan Beulich <jbeulich@suse.com>
Tue, 11 Sep 2018 09:03:14 +0000 (11:03 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 11 Sep 2018 09:03:14 +0000 (11:03 +0200)
commit9f232721deaeb9f56eeffb555c4b7ecd62708667
tree8cd76b18cbb30aa7573fe2d30016c2ece534087b
parentd9067986c93b14371056bd25507ac9606e86c962
x86/HVM: add known_gla() emulation helper

... as a central place to do respective checking for whether the
translation for the linear address is available as well as usable.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
xen/arch/x86/hvm/emulate.c